package com.homework;

public class Homework05 {
    public static void main(String[] args) {
        new A().f1();
    }
}

class A {
    private final String name = "Outer";
    public void f1() {
        class B {
            private final String name = "sdfsdf";

            public void show() {
                System.out.println("name=" + name + " Outer name=" + A.this.name);
            }
        }

        new B().show();
    }

}